package com.example.superoa.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the kq_overwork_stati database table.
 * 
 */
@Entity
@Table(name="kq_overwork_stati")
@NamedQuery(name="KqOverworkStati.findAll", query="SELECT k FROM KqOverworkStati k")
public class KqOverworkStati implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="OS_ID")
	private int osId;

	@Temporal(TemporalType.DATE)
	@Column(name="OS_DATE")
	private Date osDate;

	@Column(name="OS_JIE")
	private BigDecimal osJie;

	@Column(name="OS_PING")
	private BigDecimal osPing;

	@Column(name="OS_XIU")
	private BigDecimal osXiu;

	//bi-directional many-to-one association to Staff
	@ManyToOne
	@JoinColumn(name="staff_id")
	private Staff staff;

	public KqOverworkStati() {
	}

	public int getOsId() {
		return this.osId;
	}

	public void setOsId(int osId) {
		this.osId = osId;
	}

	public Date getOsDate() {
		return this.osDate;
	}

	public void setOsDate(Date osDate) {
		this.osDate = osDate;
	}

	public BigDecimal getOsJie() {
		return this.osJie;
	}

	public void setOsJie(BigDecimal osJie) {
		this.osJie = osJie;
	}

	public BigDecimal getOsPing() {
		return this.osPing;
	}

	public void setOsPing(BigDecimal osPing) {
		this.osPing = osPing;
	}

	public BigDecimal getOsXiu() {
		return this.osXiu;
	}

	public void setOsXiu(BigDecimal osXiu) {
		this.osXiu = osXiu;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

}